C to Java: converting pointers into references
نویسندگان
چکیده
منابع مشابه
C to Java: Converting Pointers into References
We consider the problem of converting C pointers to the less flexible concept of references. Our main application is converting scientific applications from C to Java. We provide a general method to model essentially all features of pointers using references. The model is easily implemented in Java. We give optimizations that map key facilities like arrays and structures onto the obvious Java e...
متن کاملConverting C Pointers to Java References
We consider the problem of converting C pointers to the less exible concept of references. Our main application is converting scienti c applications from C to Java. We provide a general method to model essentially all features of pointers using references. The model is easily implemented in Java. We give optimizations that map key facilities like arrays and structures onto the obvious Java equi...
متن کاملunPython: Converting Python Numerical Programs into C
unPython is a Python-to-C compiler intended for numerical Python programs. The compiler takes as input type-annotated Python source and produces C source code for an equivalent extension module. The compiler is NumPy-aware and can convert most NumPy indexing or slicing operations into C array accesses. Furthermore the compiler also allows annotating certain for-loops as parallel and can generat...
متن کاملSource level Unrolling of Loops Containing Pointers and Array References
We consider the problem of identifying induction pointers (IPs) in loops and based on these IPs unroll their loop. The analogy between induction variables (IVs) as a base of unrolling loops with array references and IPs for unrolling loops with pointer references has been observed and pursued in a few research works, but basically no such system was ever implemented. Unlike IVs in array referen...
متن کاملApplying Static Analysis for Detecting Null Pointers in Java Programs
The detection of bugs in software has been a difficult and time-consuming manual task. Some bugs are hard to find as they manifest themselves far from the actual errors such as dereferencing null-pointer. To avoid these bugs, a useful static program analysis tool would inspect a program for presence of such errors. The goal of static analysis is to detect common run-time errors that are not det...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Concurrency: Practice and Experience
سال: 1998
ISSN: 1040-3108,1096-9128
DOI: 10.1002/(sici)1096-9128(199809/11)10:11/13<851::aid-cpe385>3.3.co;2-b